<template>
    <div class="page-container">
        图表

        <MCharts :chartData="chartData" />
    </div>
</template>

<script setup lang="ts">
    import type { ChartItem } from '~/components/MCharts/index.vue';

    definePageMeta({
        keepalive: true,
    });

    console.log(123);
    useHead({
        title: '图表',
        meta: [
            { name: 'description', content: '图表' },
            { name: 'keywords', content: '图表' },
        ],
    });

    const chartData: ChartItem = {
        time: ['1', '2', '3'],
        datas: ['2', '3', '4'],
    };
</script>
